package com.qf.erp_system_admin.mapper;

import com.qf.erp_system_admin.entity.User;
import com.qf.erp_system_admin.entity.UserVo;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * @author baishi Li
 * @date
 * @desc
 */
public interface UserMapper {
    User login(User user);

    List<User> findAll(HashMap<String, String> map);

    int del(int lgId);

    int add(User user);

    int edit(User user);

    UserVo powerSelect(User user);

    void saveBatch(ArrayList<User> list);
}
